package edu.hcnu.mapper;

import edu.hcnu.domain.entity.YiQing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface YiQingMapper {
    List<YiQing> queryPage(@Param("current") int current,@Param("size") int size,@Param("key") String key);

    Boolean updateYiQing(YiQing yiQing);

    Boolean insertYiQing(YiQing yiQing);

    Boolean deleteById(int id);

    Integer count(String key);
}
